using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace ECCSystem
{
	public partial class frmRuleMessage : Form
	{
		string strCaption;
		public frmRuleMessage(string vDate)
		{
			strCaption = vDate;
			InitializeComponent();
		}

		private void frmRuleMessage_Load(object sender, EventArgs e)
		{
			this.txtCaption.Text = strCaption;
		}

		private void btnSearch_Click(object sender, EventArgs e)
		{
			frmRule objfrmRule = new frmRule(strCaption);
			objfrmRule.ShowDialog();
		}

		private void btnClose_Click(object sender, EventArgs e)
		{
			this.Close();
		}


	}
}